<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Manyou's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={MY_CHARSET}">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jqueryui.js"></script>
<script type="text/javascript" src="js/admin.js"></script>

</head>
<body>

<div class="container">
	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	<h3 class="marginbot">分类列表</h3>
		<div id="path"><a href="index.php?admin_site{$setting['seo_suffix']}">分站管理</a>&gt;&gt;<a href="index.php?admin_site/cate/{$sid}{$setting['seo_suffix']}">{$site[name]}分类管理</a> 
		{if isset($navlist)}
			<!--{loop $navlist $nav}-->
				 &gt;&gt; <a href="index.php?admin_site/cate/{$sid}/$nav['id']{$setting['seo_suffix']}">{$nav['name']}</a>  
			 <!--{/loop}-->
		{/if}
			 {if isset($category['name'])}&gt;&gt; {$category['name']}{/if}
		</div>
		
	<div class="mainbox">
			<form name="answerlist" action="index.php?admin_site/cate{$setting['seo_suffix']}" method="post">
			<table width="80%" cellspacing="0" cellpadding="3" class="list">
				<tr align="center" class="list_title">
					
					<th width="35%" align="center"><strong>分类名称</strong></th>
						<th  width="30%" align="center"><strong>查看子分类</strong></th>
<th width="35%" align="left"><input class="checkbox" id="chkall" onclick="checkall('cid[]')" type="checkbox" name="chkall"><label for="chkall">全选</label></th>	
				</tr>    
			</table>
			    <input type="hidden" name="pid" value="{$pid}" />
			    <input type="hidden" name="sid" value="{$sid}" />
				<ul id="list">
					{loop $categorylist $cate}
					<li style="list-style:none;">
						<table width="80%"  class="list" id="table1">
							<tr style="background:#f7f7f7">
								
								<td width="35%"  align="center"><a href="index.php?admin_site/cate/{$sid}/$cate['id']{$setting['seo_suffix']}"><input name="order[]" type="hidden" value="{$cate['id']}"/><strong>{$cate['name']}</strong></a></td>

								<td width="30%" align="center"><a href="index.php?admin_site/cate/{$sid}/$cate['id']{$setting['seo_suffix']}"><img src="{SITE_URL}css/common/admin/view.png"></a></td>
								<td width="35%"><input class="checkbox" type="checkbox" value="{$cate['id']}" name="cid[]"{if $cate['mid']>0} checked{/if}><input type="hidden" name="cids[]" value="{$cate['id']}" /></td>
							</tr>
						</table>
					</li>
					{/loop}
				</ul>
				<table width="80%" cellspacing="0" cellpadding="3">
				<tr class="nobg"><td align="center"><input class="btn" type="submit" name="submit" value="提&nbsp;交" /></td></tr>
				</table>
			</form>
	</div>
</div>
</body>
</html>